package com.ruoyi.lead.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线索对象 tb_lead
 * 
 * @author ruoyi
 * @date 2025-10-19
 */
public class TbLead extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 线索ID */
    @Excel(name = "线索ID")
    private Long leadId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 渠道来源（关联字典表dict，dict_type为“channel_source”） */
    @Excel(name = "渠道来源", readConverterExp = "关=联字典表dict，dict_type为“channel_source”")
    private String channelSource;

    /** 活动信息 */
    @Excel(name = "活动信息")
    private String activityInfo;

    /** 归属人 */
    @Excel(name = "归属人")
    private String owner;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 线索状态（关联字典表dict，dict_type为“lead_status”） */
    @Excel(name = "线索状态", readConverterExp = "关=联字典表dict，dict_type为“lead_status”")
    private String leadStatus;

    public void setLeadId(Long leadId) 
    {
        this.leadId = leadId;
    }

    public Long getLeadId() 
    {
        return leadId;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setChannelSource(String channelSource) 
    {
        this.channelSource = channelSource;
    }

    public String getChannelSource() 
    {
        return channelSource;
    }

    public void setActivityInfo(String activityInfo) 
    {
        this.activityInfo = activityInfo;
    }

    public String getActivityInfo() 
    {
        return activityInfo;
    }

    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }

    public void setLeadStatus(String leadStatus) 
    {
        this.leadStatus = leadStatus;
    }

    public String getLeadStatus() 
    {
        return leadStatus;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("leadId", getLeadId())
            .append("phone", getPhone())
            .append("channelSource", getChannelSource())
            .append("activityInfo", getActivityInfo())
            .append("createTime", getCreateTime())
            .append("owner", getOwner())
            .append("leadStatus", getLeadStatus())
            .append("sex", getSex())
            .toString();
    }
}
